package com.fingard.dsp.bank.reqrespobj.billpool;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RequestBase;
import com.fingard.xml.XmlTextReader;

/*质押撤销
 * */
public class ReqB304Impledge extends RequestBase {
    //    流水号
    public String ReqSeqID;
    //    票据号
    public String BillNum;
    //    出质人帐号
    public String AccountNum;
    // 出质人账号名称
    public String AccountName;
    // 出质人账号区域
    public String AccountArea;
    //    票据类型 1-银承 2-商承
    public String BillType;
//    //银行客户号
//    public String CIFCode;
//    //联行号
//    public String BankCNASPCode;
    //票据金额
    public String BillAmt;
    //备注
    public String Memo;
    //解质押申请日期 yyyy-MM-dd
    public String AppDate;

    private XmlTextReader xmlReader;

    public ReqB304Impledge(XmlTextReader p_xmlReader, ReqRespHeader p_header) throws Exception {
        reqHeader = p_header;
        xmlReader = p_xmlReader;

        ReqSeqID = xmlReader.getSimpleText("ReqSeqID");
        BillNum = xmlReader.getSimpleText("BillNum");
        AccountNum = xmlReader.getSimpleText("AccountNum");
        AccountName = xmlReader.getSimpleText("AccountName");
        AccountArea = xmlReader.getSimpleText("AccountArea");
        BillType = xmlReader.getSimpleText("BillType");
//        CIFCode = xmlReader.getSimpleText("CIFCode");
//        BankCNASPCode = xmlReader.getSimpleText("BankCNASPCode");
        BillAmt = xmlReader.getSimpleText("BillAmt");
        Memo = xmlReader.getSimpleText("Memo");
        AppDate = xmlReader.getSimpleText("AppDate");
    }
}
